<meta charset="utf-8"/>
<script type="text/javascript" src="../static/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        //alert($('#address_input_box').val());
        //alert($.type($('#address_input_box').val()));
    });
    $(function () {
        var obj = jQuery.parseJSON('{"name":"John"}');
        console.log(obj);
    });

    function test() {
        alert('xxx');
    };

    function test3() {
        alert('xxx');
    };
    var s = [1, 2, 3, 5, 6, 9];
    var u = s.indexOf(5);//返回下标5对应的value
    var d = s.indexOf(8);//返回-1
    console.log(u);
    console.log(d);

    var arr = [4, "Pete", 8, "John"];
    console.log(jQuery.inArray("John", arr));  //3
    var str = '';
    arr = str.split(',');
    console.log(arr);

</script>
<div class="kuang ">
    <div style="display: none;" id="address_input_box"><label for="AddServiceStep1Form_address">详细服务地址</label></div>
</div>